<!-- 添加维保记录 -->
<div class="layui-col-md12">
    <div class="layui-col-xs6 layui-col-md12">
        <form class="layui-form form-auto">
            <div class="layui-form-item layui-col-md12">
                <div class="layui-inline ">
                    <label class="layui-form-label">车牌号</label>
                    <div class="layui-input-inline">
                        <input type="hidden" class="car_id" name="car_id" value="" lay-verify="number" />
                        <input type="text" class="layui-input number" name='number' value="" lay-verify="required" data-msg="车牌号不能为空" readonly=""
                        />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">维保单号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="bill_number" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">维保金额</label>
                    <div class="layui-input-inline">
                        <input type="number" name="charge" autocomplete="off" lay-verify="number" class="layui-input phone">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">维保类型</label>
                    <div class="layui-input-block">
                        <input type="radio" name="service_type" value="1" title="维修" />
                        <input type="radio" name="service_type" value="2" title="保养" />
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">送维/送保人</label>
                    <div class="layui-input-inline">
                        <input type="text" name="leader" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">维修服务商</label>
                    <div class="layui-input-inline">
                        <select class="service_id" name="service_id" lay-verify="required" lay-search="">
                        </select>
                    </div>
                </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">开始时间</label>
                    <div class="layui-input-inline">
                        <input type="text" id="start_date" name="start_date" lay-verify="required" autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">结束时间</label>
                    <div class="layui-input-inline">
                        <input type="text" name="end_date" id="end_date"  autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>
            </div>
            <!-- <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">维保公司联系人</label>
                    <div class="layui-input-inline">
                        <input type="text" name="service_linkman" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">维保公司联系电话</label>
                    <div class="layui-input-inline">
                        <input type="text" name="service_phone" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div> -->
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">单位公司</label>
                    <div class="layui-input-inline">
                        <select class="company_id" name="company_id" lay-verify="" lay-search="">
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">当前公里数</label>
                    <div class="layui-input-inline">
                        <input type="number" name="km" lay-verify="number" placeholder="" autocomplete="off" class="layui-input">
                    </div>
                </div>

            </div>
            <!-- <div class="layui-form-item">
                <label class="layui-form-label">地点</label>
                <div class="layui-input-block" style="width: 555px;">
                    <input type="text" name="address" lay-verify="" placeholder="" autocomplete="off" class="layui-input">
                </div>
            </div> -->
            <div class="layui-form-item layui-form-text  layui-col-md12">
                <label class="layui-form-label">备注说明</label>
                <div class="layui-input-block" style="width: 555px;">
                    <textarea placeholder="请输入内容" class="layui-textarea" lay-verify="remark" name='ps'></textarea>
                </div>
            </div>
            <!-- <div class="layui-form-item">
                <label class="layui-form-label">照片</label>
                <div class="layui-upload">
                    <div class="layui-upload-list">
                        <input type="hidden" name='service_img'>
                        <img class="layui-upload-img" id="img1">
                        <p id="demoText"></p>
                        <button type="button" class="layui-btn" style="margin-left: 150px;width: 100px;" id="test1">上传图片</button>
                    </div>
                </div>
            </div> -->
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal keep" lay-submit=""
                        lay-filter="save">保存</button>
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal back">返回上一页</button>
                </div>
            </div>
        </form>
    </div>
</div>
